package com.wgts.wgts.control.dialog;

import android.os.Parcel;
import android.os.Parcelable;
import android.support.v4.app.FragmentManager;

/*
 *
 *
 *   data:2018/9/1111:58
 *
 */
public class ToastDate implements Parcelable{
    //取消原因
     private String cancelQuestion;
     //取消
     private String cancelText;
     //点错了
     private String pointText;
     private FragmentManager fragmentManager;

     public ToastDate(){

     }

    protected ToastDate(Parcel in) {
        cancelQuestion = in.readString();
        cancelText = in.readString();
        pointText = in.readString();
    }

    public static final Creator<ToastDate> CREATOR = new Creator<ToastDate>() {
        @Override
        public ToastDate createFromParcel(Parcel in) {
            return new ToastDate(in);
        }

        @Override
        public ToastDate[] newArray(int size) {
            return new ToastDate[size];
        }
    };

    public String getCancelQuestion() {
        return cancelQuestion;
    }

    public void setCancelQuestion(String cancelQuestion) {
        this.cancelQuestion = cancelQuestion;
    }

    public String getCancelText() {
        return cancelText;
    }

    public void setCancelText(String cancelText) {
        this.cancelText = cancelText;
    }

    public String getPointText() {
        return pointText;
    }

    public void setPointText(String pointText) {
        this.pointText = pointText;
    }
    public FragmentManager getFragmentManager() {
        return fragmentManager;
    }

    public void setFragmentManager(FragmentManager fragmentManager) {
        this.fragmentManager = fragmentManager;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(cancelQuestion);
        dest.writeString(cancelText);
        dest.writeString(pointText);
    }
}
